/**
 * 
 */
package com.googlecode.xcarve.demoservice;

import com.googlecode.xcarve.object.Demo;

/**
 * @author xinyun.d
 * 2014年9月21日
 */
public class DemoServiceImpl implements DemoService{

	@Override
	public String sayHello() {
//		System.out.println("..... invoke sayHello method......");
		return "hello world!";
	}

	/* (non-Javadoc)
	 * @see com.dove.netty.rpc.DemoService#sendDemo(com.dove.common.object.Demo)
	 */
	@Override
	public Demo sendDemo(Demo demo) {
//		System.out.println("..... invoke sendDemo method......");
		demo.setTime(System.currentTimeMillis());
		return demo;
	}

}
